function createBubble() {
	const bubbleContainer = document.querySelector('.bubble-container');
	const createElement = document.createElement('div');
	createElement.className = 'bubble';

	let size = Math.random() * 60;
	createElement.style.width = 20 + size + 'px';
    createElement.style.height = 20 + size + 'px';
	createElement.style.left = Math.random() * innerWidth + 'px';
	bubbleContainer.append(createElement);

	setTimeout(() => {
		createElement.remove();
	}, 4000);
}
setInterval(createBubble, 50);